
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 导航栏1 */
.navBar {
  background-color: #0a2536;
  height: 50px;
  padding-left: 20px;
}
.titleLeft {
  float: left;
}
.titleRight {
  float: right;
}
.titleRight img {
  margin-right: 20px;
  height: 50px;
}
.titleLink {
  color: white;
  text-decoration: none;
  line-height: 50px;
  font-size: larger;
  margin-right: 20px;
}
/* 导航栏2 */
.navBar2 {
  background: linear-gradient(to right, #ede910, #11e589);
  height: 50px;
  padding-left: 20px;
}
.titleLink2 {
  color: black;
  text-decoration: none;
  line-height: 50px;
  margin-right: 20px;
}
.titleLink2 span {
  color: rgb(45, 114, 188);
  vertical-align: middle;
}

body {
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: #333;
}


.banner {
  width: 100%;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: auto;
}

/* 最热视频 */
.hot-videos {
  width: 90%;
  max-width: 100%;
  margin: 30px auto;
    display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  grid-template-rows: repeat(3, 1fr);
  grid-template-areas: 
  "large large item1"
  "large large item2"
  "item3 item4 item5";
}

.large {
  grid-area: large;
}
.item1 {
  grid-area: item1;
}
.item2 {
  grid-area: item2;
}
.item3 {
  grid-area: item3;
}
.item4 {
  grid-area: item4;
}
.item5 {
  grid-area: item5;
}

.hot-videos img{
  width: 100%;
  height: 100%;
}


/* 大咖推荐 */
.recommend {
  width: 90%;
  max-width: 100%;
  margin: 30px auto;
}
.recommend h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.recommend-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.recommend-item img {
  width: 100%;
  height: 100%;
}

footer {
  background-color: #003366;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 50px;
}